import { defineStore } from 'pinia';

export const useSettingStore = defineStore('settingState',{
    state: () => ({
        // 菜单是否收缩
        isCollapse: true,
    }),
    getters: {},
    actions: {
        // 切换Collapse
        setCollapse(value: boolean) {
            this.isCollapse = value;
        }
    }
})